import pytest

from autoTest_brtcApi.utils.mysqlUtil import myDB


@pytest.fixture(scope='session', autouse=True)
def fixture():
    print("开始执行接口自动化测试用例...")
    yield
    print("用例执行完成，恢复环境...")
    #执行
    sql = 'delete from UserName where u_phone = "15478945632"'
    myDB.execute(sql)
